﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace _3___Apresentação_Windows
{
    public partial class Principal : Form
    {
        private System.Windows.Forms.MdiClient _mdiClient1;
        private IContainer _components = null;

        public Principal()
        {
            InitializeComponent();
            Login frmLogin = new Login();
            frmLogin.MdiParent = this;
            frmLogin.StartPosition = FormStartPosition.CenterScreen;
            frmLogin.StartPosition = FormStartPosition.Manual;
            frmLogin.Location = new Point((this.ClientSize.Width - frmLogin.Width) / 2,
                                   (this.ClientSize.Height - frmLogin.Height) / 2);
            frmLogin.Show();
            
        }

       

    }
}
